#-------------------------------------------------------------------
# Project Invasion of the aliens 
# name game.py
# purpose is no longer need 
#
# authors Chris L'Heureux, Tyler Plante, Jackson Morse
# main author Jackson Morse
#
# created 12/3/12
# Copyright (C) Jackson Morse
# License New BSD\
#------------------------------------------------------------------  
import pygame, math, sys, random

class EnemyHealth():
    def __init__(self, position):
        self.surfaces = []
        for i in range(10, 110, 10):
        self.surfaces += pygame.image.load("images/Healthbar/ball.png")
        self.frame = len(self.surfaces)-1
        self.minFrame = 0
        self.surface = self.surfaces[self.frame]
        self.rect = self.surface.get_rect()
        self.place(position)
        self.health = 10
        self.living = True
                
    def  __str__(self):
        return "I'm the Player and i am LIVING " + str(self.rect.center) + str(self.speed) + str(self.living)
        
    def update(self, newHeath):
        print "new life is " + newHealth
 